﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using ImageProcessor.Shared;
using System.Drawing;

namespace ImageProcessor.Mish
{
    /// <summary>
    /// Логика взаимодействия для VKFControl.xaml
    /// </summary>
    public partial class VKFControl : UserControl, ITabPanel
    {
        public VKFControl()
        {
            InitializeComponent();
        }

        public void Load(MainViewModel mainVM)
        {           
            var vkf = new VKF(mainVM, this);
            DataContext = vkf;            
            Settings = new BaseSettingsControl { DataContext = vkf };
        }

        public string DisplayName { get { return "ВКФ"; } }        

        public Control Settings { get; private set; }
    }
}
